/*
 *  SDLVideo.h
 *  breemlib
 *
 *  Created by James on 8/4/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef __sdlvideo_h__
#define __sdlvideo_h__

#include "StdAfx.h"
#include "video.h"

class CSDLVideo:public CVideo {
	public:
		SDL_Surface *surface;
		u32 *Screen;
	public:
		CSDLVideo();
		int Init(int w,int h,int bpp=0);
		void Kill();
		void SetSize(int w,int h);
		void StartBlit();
		void StopBlit();
		void *GetSurface();
		int GetPitch();
};

#endif
